package com.appcenter.message.model;

import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@NameStyle(Style.normal)
@Table(name="messagetargets")
@Entity
public class MessageTargets {
    @javax.persistence.Id
    private String id;
    public String getId(){return this.id;}
    public void setId(String id){this.id=id;}

    private String messageId;
    public String getMessageId(){return this.messageId;}
    public void setMessageId(String messageId){this.messageId=messageId;}


    private String targetUserName;
    public String getTargetUserName(){return this.targetUserName;}
    public void setTargetUserName(String targetUserName){this.targetUserName=targetUserName;}

    private String targetUserCode;
    public String getTargetUserCode(){return this.targetUserCode;}
    public void setTargetUserCode(String targetUserCode){this.targetUserCode=targetUserCode;}

    private Boolean isRead;
    public Boolean getIsRead(){return this.isRead;}
    public void setIsRead(Boolean isRead){this.isRead=isRead;}

    private Boolean isSend;
    public Boolean getIsSend(){return this.isSend;}
    public void setIsSend(Boolean isSend){this.isSend=isSend;}

    private Date readTime;
    public Date getReadTime(){return this.readTime;}
    public void setReadTime(Date readTime){this.readTime=readTime;}



    private Date createTime;
    public Date getCreateTime(){return this.createTime;}
    public void setCreateTime(Date createTime){this.createTime=createTime;}

    private Date sendTime;
    public Date getSendTime(){return this.sendTime;}
    public void setSendTime(Date sendTime){this.sendTime=sendTime;}


    private Messages messages;
    public Messages getMessage(){return this.messages;}
    public void setMessage(Messages messages){this.messages=messages;}


}
